let currentUser: UserInfo;
const getCurrentState = (): UserInfo => {
    return currentUser
}
const setCurrentState = (user: UserInfo) => {
    currentUser = user
}

export {
    getCurrentState, setCurrentState
}